/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package protegido;

import com.opensymphony.xwork2.ActionSupport;
import fonol.entidades.Beneficiarios;
import protegido.util.ProtegidoUtil;

/**
 *
 * @author fredfred2
 */
public class PreVerProyectos extends ActionSupport {

    private int idbeneficiario;
    
    private Beneficiarios beneficiario;
    
    @Override
    public String execute() throws Exception {
        
        return SUCCESS;
    }

    public int getIdbeneficiario() {
        return idbeneficiario;
    }

    public void setIdbeneficiario(int idbeneficiario) {
        this.idbeneficiario = idbeneficiario;
    }

    public Beneficiarios getBeneficiario() {
        return new ProtegidoUtil().regresaBeneficiario(getIdbeneficiario());
    }

    public void setBeneficiario(Beneficiarios beneficiario) {
        this.beneficiario = beneficiario;
    }
    
}
